use class and add osprovisioning