Created rough draft of matchLength