Working on Counter and lambdas