wrapped in class