got rid of new statement in create_instance