Added return.Some printouts commented.