using decorators for exceptions
validate status