before I start to do pdf gem