a program to deal with fa