added AdaptCW