added timeouts to init method as well