readded drawing, changed min contour size to 50, this is the version used for milestone 1