register becomes an action