Added options for freq and action