hacked to remove include_array