resolve issue #7, #8.
add lambda piping