added counter v1.0