changed null to new ArrayList