use class in deployment