Write first pass of code for reporting and checking
begin fixing compilation errors