added method RandomErrors