Pass number of words as argument