commenting

added commenting to advertising code