first version of manual counter