added sleep of 5 seconds