Add line parsing