removed piece of unneeded code