Re-indented the code