make stats optional
make freq stats optional too