Removed unnecessary code block