Some random tools