better format of attributes