remove code that was not needed