Added random character functionality.