add method d()