Function call made to total function in result calculation module