added uptime support