Perspective: replaced null checks with lambda expressions