analysis - runFunctionAsMain