Finalising source code