Revert "my rand helper wasn't helping"

This reverts commit 84e5af9fc2fb7c5bcab55cb777587d0fa46bd791.
adding the first efforts for testing this tool