Another way to define timeouts