Add a couple helper functions, haskell is so cool