Deleting uneeded code