add line main layout