professor Vaganov's common data structures