made cipher work better