updated ciper method