Solved double subscription problem using Set collection