Use addHash method