added freq and duration controls back in