successfully drawing contours for shapes