Code snippets for Fortran codes