renamed old functions to server-side functions

bank loop also updated to call them