diagnostic printf changed
give more details