Contact mechanism