add lines calculation for 00 state