expanding query frame