small changes in wpmprog