resource initialization modified