indices must not be null?