added a register and even system for DNA