added formatting, and uptime under debug