use lambda syntax for scope