changed from parseInt() to Math.floor() to close #21. fixed number of random descriptors