Template Query builder prototype working!