D3, Bharti| Fixing depracated setPrn method usage