now using create_resources to map the hash
Fixed merge