renamed 'random' module to 'rand'