data structures setup