Deleted unnecessary code

deleted code that wasn't used