create new resource in it block