Worked on extracting frequency a bit more.