reduced word position code to remove line number