basic ratchet template