oops, attributes is arrayreference