support on previous GHC versions