remove code that wasn't needed