untested query added, should mostly work
implemented and tested basic bacon path