by using pulse generators