added doccumentation about data structures