strcut working