designing with lambda