error checking added to forms