change duration to match the code example