added animateLine