no need to call the size function, use length directly