added matches function