Wrote general explanations of each function