updated with printf() for floating point.
improved status output