setting up basic data structures