not nil check simplified