updated print messages to be more informative.