snake-mechanism