use array instead of null