finished dog code along