remove code that is not used