added a return to the end of the random function, updated package.json