adding register definitions