support for -ve counters

fixes #19