add fasd and some functions