added requires_master decorator
added requires_master decorator