add statuscode to operation