Refactored names of functions for getting out of order JS.