started 1st type error checking