add some func to common