removing unnecessary scope on private