optimization of lookup elements
creating globalOptions to make it more fast and flexible