change to resource