added random and fixed delay