required queries added