Changed serial input to one line per value to commit the values individual