removed console.log, suport random boolean