added first step of pdf export