ADD: Conding and PWgenerator