implemented MyLine