timeout usage optional
more examples, handling of time improved