when i designed this, it was catering for just 1 function. so unfortunately, i can't do it for index match.