added calls to cpuUsage and ramUsage