Changed constructor default data to be empty array