Changed the print format to suit with needed clustering data