Changed function name and made other insignificant whitespace changes