added pdf rectangle example