updated method 3
Merge pull request #5 from DustinPham/master

updated method 3