null checks are my friend