adding master affiliate stuff'