changed memory array to use on/off symbols instead of binary