maps work, structs not so much