add figure support