adding lines to main