some nil checking