init
lots of stuff
merging