main fame.can add figure