Match function definition