Add complex struct and some operations for it