added console.logs and array/objects example