trying lambda behave