automatic recompile
small refactor