add cas support