defaulting data to an array