make escape function public
test random