simplify and rename Ratchet