cas functionality