added -fout option