time param default value, added documentation to basic example