added frequency string formatting.