Added comments and change starting position and contour value