testing local memory