added freq_duration example for testing