add required name method.