implemented logged runs in stats