factor name out of Makefile
add with_index to word block