updated documentation on data structures