removed unnecessary statements