Adding random functions