add some local defintion