initial work on splitted haskell