better test with nil