Starting error checking