add skeleton for setregisters