Added width value to parameter and updated frequency to be a float