added textbox to input frequency