Adding null pointer check