make this compatibile with vml's slightly different implementation of CAS