adding argument for create_instance