lower and upper limits with 'rand' method