first try at main pdf