added a few lines to basic frequency