add one figure, improved link function