works only with WC 2.2 or later