calculate internal process