Added back in newline, currentKey variable