What is a mechanism