added pseudo-code for following surface
added to the psuedo-code