remove code that is not needed.