add some addons functions