handle lambda from interface