User Story 3 - error checking
User Story 3 - error formatting