started with class features (but need to change match_param for integration)