changed argument name "register_name" to "register"