deleting dead code