added random network delay