add some random functions