Implemented bespoke queries