query interface added