initial checkin of random functions