add some Common Function