minor design change updated ad code