adding 2 second timeout