why test with null?