Removed code that was not used