Updated a function name to make more sense