I posted the question on stackoverlow and re-posting here. Hoping to find an answer to get past my sprint deadline