refactoring name and adding temporary code to allow UI to make network calls. NEED TO MAKE IT ASYNC