need the output in an array