why not typehint to array here?