adds some data structures