ResourceFactory filled in functions