removed statement outside function body