START CLOCK if hand doesn't move, squirrel trust low to high squirrel mistrust high to low add good/bad memories of encounters with hand from past to values of trust and mistrust randomly. output value of trust output value of mistrust until peanut obtained when peanut obtained, END CLOCK.