more of the resource handler