add output as pdf