* starting to write less-naive version: lego, legoStructure, legoSet