adding some notes on struct assignment