working towards pdf uploads