fixed some broken stuff, modified the pdf files to reflect new situation