Removing Useless Code