took out unneeded code