improvements to skew functions