deleting some unneeded code