use plain write() in place of dprintf() with a pre-formatted string step-by-step guidance from millert; ok millert stsp