added customize_class and preCreate action