change brendan's code to dave's code
Merge pull request #1 from InternetDave/patch-1

change brendan's code to dave's code