updeate random function and add utility class