Fix for attempts
Merge pull request #2 from pmorie/dev/attempts

Fix for attempts