CAS code example