removed no longer used random number generator