add pwmbuilder class