removed unnecessary scope var