arrays, bps, functions