Trying to narrow down an error