addded sloc counter