Deleting extra code