resetting the Jams code