Change variable 'uptime' to private from protected