updated text to explain functions