finished project one still to do, sort frequencies