added frequency field and widget