added base frequency setting