working with ad