add print for rand