rename run to register