propagate class with constructor