WIP
work with GHC 7.4