working on getting a signal when the compiler fails
small refactor