add array_foreach(...), entitypool_foreach(...) for easy iteration
use array_foreach(...), entitypool_foreach(...) where applicable