added arrays and prefix