updated the haskell attributes not to overwrite each other