calculating finances with team