Re-add array func changes