Still need to test with atm % dbeditor, check wrapping of pin