register set with erase pin added