Add function to README