make CAS work