added next method
Merge pull request #51 from ironcamel/next

added next method