adding some data structures