reorganising some data