Modified calculation
Merge remote-tracking branch 'origin/master'