added class ram_register