Got uniform generation working