changed numbers to reflect the "meaning" of the functions