afp programming task