removed code that was not correctly placed