Implemented interface machine using preprocessor.