application of ratchet and pawl mechanism