added doubler generator