finsihed L1 query compilation, going to add some more tests before moving on