Removed redundant piece of code in data population.