creted the wrapper for the Resource stuff