sample code for echo and fast.
translate to clj