function calls rearranged and changed (getStart, createDiv and getNumMatches)