changed %c in print