added scoping to let