Changed null to new int[0] in ai return statements