Removed counter bug and overloaded method.