more fortran support logic