handle mutlple attribute definitions