Implemented format matching