define some func, eg makeFile and so on