compiles safely, beginning unit testing