changed timeout to 10 seconds