it works with null.