create local wrappers for rand-int and concurrency