Removed debug messages; Addded >> and << at the beginning