make scope use lambda