modified bad example for AF