have to capture values in an array