basic implementation of the resource