created base variable and included api key