corrected the indentation and ordering