Attempted pdf functionality, but removed it for another time. Updated views