added in missing queries class from main file