Fixed a poorly named function