Add functionality for first line parsing