adding some TODOs + outfreq option