what if you don't know the size of the output
what if you don't know the size of the output