new resource calculation