added playFrequency