refactored code to compile itself to itself