add new file FA_func.m