new way to calculate depreciations