use === for null and undefined checking