may be better just to inherit than to insert class