removed chunk of unecessary code#