buggy version of printwords