added new registers and menu system