moved FreqSeq implementation to header