Code determines the butt (position) and the head (thinking)