error checking comments