Now we assert that attributes is a list
Validation added
Types works now