changed to %d