Using static data structure instead