added some func
added some func