add queries code gen basis (sry for excel)