finish lineinter and add to main program