Updated explanation of functions