afl implementation
each afl on a new line