implement tabs
fix array test