frequency solution