cleaning code written in the far past