to make the split in result and print