gets create_resource working