added conversion to pdf (beta)