modified the Promoter generator