Implemented the random generation and linked them to facade