added CAS after pulling