create data structures to hold posts