remove code that's no longer used