Added cas operation