added validation to status model