removed the extra code