change interface for resource methods