renamed command -> register