more modifications to debug memory location