add option for single memory location