moved affilate code