new interface for quote util and new support for testing