index changed to get cpu-memory values