Fixed indentation
Fixed indentation and removed unnecessary code