add some func.