started implementing line and circle segments