better datastructures
merged