initialize attributes as an empty array ```[]```. Then you don't need the check for emptyness below.