formatted af6.sh