Add random method