beggining of the output plugin