removed unnecessary scope