added productivity computation