implemented the resource method for exttended types