duplicate var removed & console reporter added