changing attributes order