Output function can be customized in fml, which is used to print