refactored resource_for_create_result method