some changes in lines dao