simplify random
no need to replace placeholder