tried list monad with jump function