counter service written