adding lines to the main