more impl code for refex enhancements