outputs array now