keys and machines