unneeded code deleted