minor modification to freq and time