Trying to figure out the best way to code the chain movement.