added random generators
Implemented random generators