No need to initialize dcoFrequency to 0 twice