Fixed indentation and removed unnecessary code