wrap to class file