making dpid a private field