Finished getNextValue, deliming new dimensions on $ as opposed to newline probably