proper matching