configuring ratchet stuff