modify the class pwmby member variable naming
add the function implement