worked on mod counter