store data in new structre

it runs, but god knows if it works