replaced var with const to define constants