Creation and retrieve of matches