Got random gen working