console logging array objects