postcondition if mainfunction not initialized