Added adddog method