simplify the super complex and unnecessary array shit.
easier debugging by attaching tabs to window