remove comonad dependency