basic data structures - example 3.1