change duration to match the code example
Merge pull request #210 from nicoder/patch-14

change duration to match the code example