error checking - errors still exist