removed unnecessary object from scope