Works!

works for one line at a time. TODO: get it to read more than one line