requires 5.4.0 because of the enc_type parameter use in buildquery model method