create interface for resource wrapper