Changed ad code