add code using FCounter