adding the resource interface