An employee that leaves the office at 5pm is clearly slacking off. No need to even try measuring actual productivity.