added base register class