new status query generator created