working on code validating functions and related status messages