Added random sleep