added null to arrays