updated to new resource buff interface