using a smaller sample.sql and debugging