updated method to take parameters.
Merge pull request #11 from Spiritninja66/kennedy

updated method to take parameters.