add pdf and gridtools