Code for the smart Dog Collar made in Smart Objects