added frequency controls