Ugly implementation of arrows