Datastructure class work