added console.log queries