make some func to public