added first attempt at 'affirm' function
Merge pull request #1 from rwm28/chrome

added first attempt at 'affirm' function