perfect mechanism