added shell code for lambda operation