added pricing and direct querying