fixed alignment and indented code