wrote example program to show how to use timeouts