resourecefactory changes