working array with console.log to access data