added rannum generator