divided api calls, DOM transformatios