Made rewrite and create word functions rather than variables assigned to a function