Added function for tracking multiple words at once.