simplify circle and line drawing