compatibility with older GHCs