continued haskell dev, type class creation