added PDF recording functionality directly into Interface