monadic notation for usage client side code