renamed registerAction -> assignAction