you should typehint the array