complex clockwork mechanism